package Lab03;

/*public class Lab02 {
    int x;
    long y=x;
    public void f(int n){
        int m =0;//编译错误
        int t=n+m;
    }
    public static void main(String[] args) {
        Lab02 sample=new Lab02();//编译错误
        sample.f(5);
        System.out.println(sample.x);
    }
}*/
/*
public class Lab02{
    Lab02(int m){}
    Lab02(double  m){}
    int Lab02(int m){return 23;}
    void Lab02(double m){}
}*/
/*public class Lab02 {
    int a,b;
    int c=-1;
    public Lab02(){a=-2;}
    public Lab02(int p1,int p2){a=p1;  b=p2;}
    public Lab02(int p1,int p2,int p3){
        this(p1,p2);
        c=p3;
    }

    @Override
    public String toString(){
        return String.format("(a,b,c)=(%d,%d,%d)",a,b,c);
    }
    public static void main(String args[]){
        Lab02 s = new Lab02();
        System.out.println(s);
        System.out.println(new Lab02(5,6));
        System.out.println((new Lab02(2,3,4)).toString());
    }
}
*//*(a,b,c)=(-2,0,-1)
(a,b,c)=(5,6,-1)
(a,b,c)=(2,3,4)*/


